import React, {Component} from 'react';
import {
    StyleSheet,
    Text,
    View,
    Button
} from 'react-native';
import MingStudent from "../component/MingStudent";

export default class main extends Component {

    // state = {
    //     mysize: 0
    // }

    constructor(props) {
        super(props);
        this.state = ({
            mysize: 0
        })
        this.stu = new MingStudent("旺财", "男", 1);
    }


    render() {
        return (
            <View>
                <Text onPress={() => {
                }}>
                    {this.stu.getDes()}
                </Text>

            </View>
        );
    }
}
